package com.cloudshop.service.user.dao.jpa;

import com.cloudshop.service.user.entity.Users;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Users Jpa.
 *
 * @author 宫新程
 * @since 2019/4/1 14:10
 */
public interface UserRepository extends JpaRepository<Users, Integer> {

  /** 根据手机号查询. */
  Users findByPhone(String phone);

}
